<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
 
class b2c_finder_goodscollection{
    var $column_edit = '操作';
    function column_edit($row){
	if($row['status']=='2'){
		$return = '<a href="index.php?app=b2c&ctl=admin_goodscollection&act=view&_finder[finder_id]='.$_GET['_finder']['finder_id'].'&p[0]='.$row['gc_id'].'" target="dialog::{title:\''.app::get('b2c')->_('查看集货单').'\', width:800, height:600}">'.app::get('b2c')->_('查看').'</a>';
	}else{
		$return = '<a href="index.php?app=b2c&ctl=admin_goodscollection&act=edit&_finder[finder_id]='.$_GET['_finder']['finder_id'].'&p[0]='.$row['gc_id'].'" target="dialog::{title:\''.app::get('b2c')->_('编辑集货单').'\', width:800, height:600}">'.app::get('b2c')->_('编辑').'</a>';
	}
	    return $return;
        
    }  
}
